package org.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Clazz {
    private Integer id; //ID,主键
    private String name; //班级名称
    private String room; //教室
    private LocalDate beginDate; //开班日期
    private LocalDate endDate; //结业日期
    private Integer masterId; //班主任
    private Integer subject; //科目
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //更新时间

    private String masterName; //班主任姓名
    private String status; //班级状态 0:未开班,1:已开班,2:已结业

}
